﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<assignment_1.Models.Canva>>" %>

<% foreach (var item in Model) { %>

    <%--<li><a onclick="loadCanvas('<%: item.canvasID %>');"> <%: item.canvasName %></a></li>--%>
    <tr>
		<td><%: item.canvasName %></td>
		<td><%: item.canvasDate %></td>
        <td><button onclick="loadCanvas('<%: item.canvasID %>');" class="loadimg">load</button></td>
        <td><button onclick="deleteCanvas('<%: item.canvasID %>');" class="deleteimg">Delete</button></td>
	</tr>

<% } %>


